/*
 * Copyright (c) 2016 www.smarthome.com All rights reserved. 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.base.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.smarthome.base.dao.ShResidenceLaundryDao;
import com.smarthome.base.dao.base.BaseDao;
import com.smarthome.base.service.ShResidenceLaundryService;
import com.smarthome.base.service.base.BaseServiceImpl;
import com.smarthome.domain.bean.ShResidenceLaundry;

/**
 * ShResidenceLaundryService 实现类
 * @author KongXiangyu
 * @since 2016-03-21
 */
@Service("shResidenceLaundryService")
public class ShResidenceLaundryServiceImpl extends BaseServiceImpl<ShResidenceLaundry, Long> implements ShResidenceLaundryService {

    @Resource
    private ShResidenceLaundryDao shResidenceLaundryDao;

    public BaseDao<ShResidenceLaundry, Long> getDao() {
        return shResidenceLaundryDao;
    }

	@Override
	public List<Long> getLaundryIdList(ShResidenceLaundry shResidenceLaundry) {
		return shResidenceLaundryDao.selectLaundryIdList(shResidenceLaundry);
	}

}